﻿/**
* Copyright © 深圳市新元素医疗技术开发有限公司 . All rights reserved.
* 
*  Description:
*  Create By $username at $time
*  
*
*  Revision History:
*  Date                  Who                 What
*  
* 
*/

#region namespace

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

#endregion

namespace Cherry.Agile.ServiceModel.Interceptor
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
    public class ServiceContractInterceptorAttribute : Attribute
    {
        public ServiceContractInterceptorAttribute()
        {
            IsBidirectional = true;
            PolicyLevel = PolicyLevel.Enterprise;
        }
        /// <summary>
        /// 标识是否支扩展消息头附加
        /// </summary>
        public bool IsBidirectional { get; set; }

        /// <summary>
        /// 安全区域
        /// </summary>
        public PolicyLevel PolicyLevel { get; set; }


    }
}
